package com.wy.dao;

import com.wy.model.sys.ComplainLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ComplainLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ComplainLog record);

    int insertSelective(ComplainLog record);

    ComplainLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ComplainLog record);

    int updateByPrimaryKey(ComplainLog record);

    List<ComplainLog> selectComplainByCid(@Param("cid")Integer cid);
}